package net.oschina.app.ui.activity.me;

import net.oschina.app.R;
import net.oschina.app.base.BaseActivity;
import net.oschina.app.base.BasePagerAdapter;
import net.oschina.app.fragment.me.noticefragment.Fans1Fragment;
import net.oschina.app.fragment.me.noticefragment.Notice1Fragment;
import net.oschina.app.util.ToolBarUtil;


public class NoticeActivity extends BaseActivity {

    @Override
    public int getLayoutRes() {
        return R.layout.activity_me_notice;

    }

    @Override
    public void initView() {
        ToolBarUtil.setToolBar(this,"关注/粉丝");
    }

    @Override
    public void initData() {
        BasePagerAdapter adapter = new BasePagerAdapter(getSupportFragmentManager(),this);
        adapter.addTab(Notice1Fragment.class,"关注");
        adapter.addTab(Fans1Fragment.class,"粉丝");

    }

    @Override
    public void initListener() {

    }

}
